Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/wv 203 possible fix for url issue TEAM REVIEW #3834

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

pbnjcub
Copy link
Contributor

@pbnjcub pbnjcub commented Feb 20, 2024

What github.com/wevote/WebApp/issues does this fix?

wv-203

Changes included this pull request?

getWeVoteRootURL () {
const { location: { hostname, origin } } = window;
if (hostname === 'localhost') {
if (hostname === 'localhost' || hostname === 'quality.wevote.us') {
return origin; // ex/ https://localhost:3000
} else {
return 'https://wevote.us';

@DaleMcGrew
Copy link
Member

Thank you @pbnjcub this is a good interim step -- I'll let you create a new pull request with the changes we talked about in yesterday's meeting. 👍

@DaleMcGrew DaleMcGrew merged commit bbe2b05 into wevote:develop Feb 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants